package cn.dogger.easyboot.system.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Builder;

import java.io.Serial;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;

/**
 * 角色和部门关联表
 *
 * @author dogger
 * 2022-04-16
 */
@Data
@ApiModel
@Accessors(chain = true)
@TableName("sys_role_dept")
public class SysRoleDept implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "角色ID")
    private Long roleId;


    @ApiModelProperty(value = "部门ID")
    private Long deptId;

}